﻿using ProTrack.Utility;
using System;
using System.Collections.Generic;
using System.Text;

namespace ProTrack.Entity
{
    /// <summary>
    /// 仓库调拨表
    /// </summary>
    public class WareHouseAllocation
    {
        /// <summary>
        /// 编号
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 编码 例如：xxx-2024-04-25-001
        /// </summary>
        public string Number { get; set; }

        /// <summary>
        /// 关联的入库仓库Id
        /// </summary>
        public long WareHouseId { get; set; }

        /// <summary>
        /// 入库仓名称
        /// </summary>
        public string WareHouseName { get; set; }

        /// <summary>
        /// 关联的调出仓库Id
        /// </summary>
        public long ExWareHouseId { get; set; }

        /// <summary>
        /// 调出仓名称
        /// </summary>
        public string ExWareHouseName { get; set; }

        /// <summary>
        /// 经办人Id
        /// </summary>
        public long EmployeesId { get; set; }
        /// <summary>
        /// 经办人
        /// </summary>
        public string EmployeesName { get; set; }

        /// <summary>
        /// 订单状态 0待审核 1已审核
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 调拨时间
        /// </summary>
        public DateTime WareHouseDate { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } = StringHelper.GetTimeNow();

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        public string Creator { get; set; }

        /// <summary>
        /// 更新者
        /// </summary>
        public string Updater { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Deleted { get; set; }
    }

}
